<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加电影</title>
</head>
<body>
<form class="user" name="blogAdd" method="post" th:action="@{/movie/add}" th:object="${movie}">
    <input type="hidden" id="id" name="id" th:value="${movie?.id}">
    <div >
        <div >
            电影名称：
            <input type="text"  th:field="*{name}" placeholder="电影名称">
        </div>
    </div>

    <div >
        <div >
            内容简介：
            <input type="text"  th:field="*{intro}" placeholder="内容简介">
        </div>
        <div >
            得分：
            <input type="text" th:field="*{score}" placeholder="得分">
        </div>
    </div>
    <div >
        <div >
            播放时长：<input type="text"  id="playTime" name="playTime" placeholder="评论" th:value="${movie?.playTime}">
        </div>
    </div>

    <input type="submit" value="添加/修改" class="btn btn-success" >
</form>

</body>
</html>